package UtranNRMProfile;


/**
 * Generated from IDL interface "ExternalRncFunction".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class ExternalRncFunctionPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, UtranNRMProfile.ExternalRncFunctionOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_get_ExternalRncFunctionId", new java.lang.Integer(0));
		m_opsHash.put ( "_set_Mcc", new java.lang.Integer(1));
		m_opsHash.put ( "_get_UserLabel", new java.lang.Integer(2));
		m_opsHash.put ( "_set_Mnc", new java.lang.Integer(3));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(4));
		m_opsHash.put ( "_get_Mcc", new java.lang.Integer(5));
		m_opsHash.put ( "_get_Mnc", new java.lang.Integer(6));
		m_opsHash.put ( "_set_RncId", new java.lang.Integer(7));
		m_opsHash.put ( "_get_RncId", new java.lang.Integer(8));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(9));
		m_opsHash.put ( "_set_UserLabel", new java.lang.Integer(10));
	}
	private String[] ids = {"IDL:UtranNRMProfile/ExternalRncFunction:1.0","IDL:GenericNRMProfile/ManagedFunction:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public UtranNRMProfile.ExternalRncFunction _this()
	{
		return UtranNRMProfile.ExternalRncFunctionHelper.narrow(_this_object());
	}
	public UtranNRMProfile.ExternalRncFunction _this(org.omg.CORBA.ORB orb)
	{
		return UtranNRMProfile.ExternalRncFunctionHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _get_ExternalRncFunctionId
			{
			_out = handler.createReply();
			_out.write_string(ExternalRncFunctionId());
				break;
			}
			case 1: // _set_Mcc
			{
			_out = handler.createReply();
			Mcc(_input.read_ulong());
				break;
			}
			case 2: // _get_UserLabel
			{
			_out = handler.createReply();
			_out.write_string(UserLabel());
				break;
			}
			case 3: // _set_Mnc
			{
			_out = handler.createReply();
			Mnc(_input.read_ulong());
				break;
			}
			case 4: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 5: // _get_Mcc
			{
			_out = handler.createReply();
			_out.write_ulong(Mcc());
				break;
			}
			case 6: // _get_Mnc
			{
			_out = handler.createReply();
			_out.write_ulong(Mnc());
				break;
			}
			case 7: // _set_RncId
			{
			_out = handler.createReply();
			RncId(_input.read_ulong());
				break;
			}
			case 8: // _get_RncId
			{
			_out = handler.createReply();
			_out.write_ulong(RncId());
				break;
			}
			case 9: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 10: // _set_UserLabel
			{
			_out = handler.createReply();
			UserLabel(_input.read_string());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
